.commonW(@w: 850px, @top: 0px, @bottom: 0px) {
    width: @w;
    max-width: 100%;
    margin: @top auto @bottom;
}

.editWrap {
    .toolbar {
        position: fixed;
        top: 64px;
        width: 100%;
        z-index: 100;
        box-shadow: 2px 0 2px rgba(0, 0, 0, .1);

        .innerToolBar {
            max-width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

            .item {
                margin: 0 10px;
                font-size: 14px;
                cursor: pointer;
                vertical-align: middle;

                :global(> svg) {
                    margin-top: 2px;
                    width: 1em;
                    height: 1em;
                }
            }

            .back {
                margin-right: 100px;
            }
        }

        @media screen and (max-width: 900px) {
            .innerToolBar {
                .commonW(100%);
            }

            & {
                padding-left: 20px !important;
                padding-right: 20px !important;
                // width: calc(100% - 40px);
            }
        }

        @media screen and (max-width: 800px) {
            .controlWrap {
                display: none;
            }

            .back {
                margin-right: 30px !important;
            }
        }

        @media screen and (max-width: 580px) {
            .back {
                margin-right: 16px !important;
            }

            .operationWrap {
                .item {
                    display: none;
                }

                .item:first-child,
                .item:last-child {
                    display: inline;
                }
            }
        }

    }

    .editBox {
        position: relative;
        .commonW(820px, 142px);

        .isLoadingBox {
            height: 695px;
            text-align: center;
            padding: 200px;
        }

        .titleIpt {
            margin: 10px;
            font-size: 26px;
            font-weight: 500;
            text-align: center;

            input {
                font-size: 26px;
                font-weight: 500;
                text-align: center;
            }

            .titleArea {
                .descArea {
                    margin-left: 38px;
                    padding-top: 16px;
                    padding-bottom: 8px;
                    font-size: 12px;
                    text-align: left;
                }

                @media screen and (max-width: 1000px) {
                    .descArea {
                        margin-left: 0;
                    }
                }
            }
        }
    }

    @media screen and (max-width: 1420px) {
        .leftBar {
            display: none;
        }
    }

    @media screen and (max-width: 1250px) {
        .editBox {
            margin-top: 162px;
        }
    }
}

.hwrap {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    max-width: 420px;
    max-height: 400px;
    overflow: auto;

    .hitem,
    .mitem {
        display: inline-block;
        padding: 10px;
        cursor: pointer;

        :global(.arco-typography) {
            margin: 0 !important;
        }

        &:hover {
            background-color: rgba(0, 0, 0, 0.06);
        }
    }

    .mitem {
        font-size: 16px;
        padding: 5px;
    }
}

.userSelect {
    user-select: none
}

.barWrap {
    position: absolute;
    right: -20px;
}

@media screen and (max-width: 800px) {
    .barWrap {
        display: none;
    }
}